package com.st.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

//订单商品详情表
@Data
@NoArgsConstructor
public class OrderGoods {
    private Integer id;
    private String orderNo;//订单表
    private Integer goodsId;//商品id
    private String goodsName;//商品名
    private String goodsImgUrl;//订单表
    private BigDecimal goodsPrice;//商品单价
    private Integer buyCount; //购买数量
    private BigDecimal totalMoney;//总价
    private Integer pageNum;//页码
    private Integer pageSize; //单页展示行数
    private Timestamp createTime;//订单创建时间

    //查询我的订单加的
    private Integer userId;//订单表的userId
    private Integer orderStatus;

}
